package com.wgts.wgts.dagger;

import com.wgts.wgts.dagger.component.AppComponent;

public class ComponentHolder {

    private ComponentHolder(){}

    private static class SingletonHolder{
        private static final ComponentHolder _INSTANCE = new ComponentHolder();
    }

    public static ComponentHolder getInstance(){
        return SingletonHolder._INSTANCE;
    }

    private AppComponent appComponent;

    public AppComponent getAppComponent() {
        return appComponent;
    }

    public void setAppComponent(AppComponent component) {
        appComponent = component;
    }
}
